package xyz.xmh.pattern.behavioral.statepattern;

/**
 * @author Administrator
 * <p>
 * 开始状态
 */
public class StartState implements State {

    @Override
    public void doAction(Context context) {
        System.out.println("Player is in start state");
        context.setState(this);
    }

    @Override
    public String toString() {
        return "Start State";
    }
}
